package com.aizhixin.lab.project.template.repository;

import com.aizhixin.lab.project.template.entity.ExercisesChoice;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ExercisesChoiceRepository extends JpaRepository<ExercisesChoice,String> {
    void deleteByExercisesQuestionId(String fileRepository);
    List<ExercisesChoice> findByExercisesQuestionIdOrderByOption(String fileRepository);
}
